package com.ys.openapi.organization.entity;

/**
 * 新增角色
 */
public class RoleVo {
    public RoleVo(String code, String corpId, String roleGroupId, String roleGroupName, String roleId, String roleName, String roleType) {
        this.code = code;
        this.corpId = corpId;
        this.roleGroupId = roleGroupId;
        this.roleGroupName = roleGroupName;
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleType = roleType;
    }

    public RoleVo() {
        this.code = "";
        this.corpId = "";
        this.roleGroupId = "";
        this.roleGroupName = "";
        this.roleId = "";
        this.roleName = "";
        this.roleType = "";
    }

    /* {
                "code": "",
                    "corpId": "",
                    "roleGroupId": "",
                    "roleGroupName": "",
                    "roleId": "",
                    "roleName": "",
                    "roleType": ""
            }*/
  /* params	body	true
    RoleVO
            RoleVO
    code	角色Code		false
    string
    corpId	组织corpId		false
    string
    roleGroupId	角色组id		false
    string
    roleGroupName	角色组名称		false
    string
    roleId	角色id		false
    string
    roleName	角色名称		false
    string
    roleType	角色类型,可用值:SYS,DINGTALK,WECHAT,OTHER		false
    string
    roleName	角色名称	query	false
    string
    roleGroupId	角色组主键	query	false
    string
    corpId	组织corpId	query	false
    string*/
    private String code;
    private String corpId;
    private String roleGroupId;
    private String roleGroupName;
    private String roleId;
    private String roleName;
    private String roleType;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getRoleGroupId() {
        return roleGroupId;
    }

    public void setRoleGroupId(String roleGroupId) {
        this.roleGroupId = roleGroupId;
    }

    public String getRoleGroupName() {
        return roleGroupName;
    }

    public void setRoleGroupName(String roleGroupName) {
        this.roleGroupName = roleGroupName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }
}
